import ApiGenerator from '@/utils//apiGenerator'
export default new ApiGenerator({
  cinema: [
    {
      name: 'cinemas',
      method: 'GET',
      desc: '电影院列表信息',
      path: '/cinemas/:skip'
    }
  ],
  movie: [
    {
      name: 'onShowPage',
      method: 'GET',
      desc: '上映电影列表信息',
      path: '/movie/onShow/page/:current/:perPage'
    },
    {
      name: 'notShowPage',
      method: 'GET',
      desc: '未上映电影列表信息',
      path: '/movie/notShow/page/:current/:perPage'
    },
    {
      name: 'expectPage',
      method: 'GET',
      desc: '受期待的电影列表信息',
      path: '/movie/expect'
    },
    {
      name: 'detail',
      method: 'GET',
      desc: '电影详情',
      path: '/movie/detail/:movieId'
    }
  ]
})
